
<%@ page language="java" errorPage="/CustomError.jsp" pageEncoding="UTF-8"%>
<%request.getRequestDispatcher("/jsp/BaseInclude.jsp").include(request, response);%>
<%@ page import="com.aurionpro.cashpro.commons.web.utils.SessionManager" %>
<jsp:directive.page import="com.aurionpro.cashpro.commons.web.utils.WebUtils"/>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<jsp:directive.page import="com.aurionpro.cashpro.commons.web.common.action.MenuAction"/>

<%
	String path = request.getContextPath();
	String productName = (String)SessionManager.getInstance().getValue(session, MenuAction.currenctProductName);
	String listingPrefix =  (String)request.getAttribute("listingPrefix");
	String processPrefix = (String)request.getAttribute("processPrefix");
	//String logout=((MenuReader)request.getSession().getAttribute("reader")).getLogoutURL().toString();
	//String switchMod=((MenuReader)request.getSession().getAttribute("reader")).getSwitchModURL().toString();
%>   

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script type='text/javascript' src='<%=path%>/include/lib/common.js'></script>	
   	
   	<script type="text/javascript">
   	var listingprefix = "<%=listingPrefix%>";
   	var processPrefix = "<%=processPrefix%>";
   	var alertCount = "";
   		window.onload = function() {
   		  
   			document.title = "CashPro (<%=productName%>)";
   			if("<%=productName%>" == '<%=WebUtils.PDC%>')
   				document.all.contentframe.src = "toModule.do?prefix=/jsp/PDC/Commons&page=/dashboard.do";
   		}
   		
   		function emulateBranch(url) {
   			window.location.href = url;
   			return false;
   		}
   		
   		function getURL(url) {
   			   if(top['contentframe']) 
   			   	top['contentframe'].location.href=url;
    			else if(parent['contentframe']) parent['contentframe'].location.href=url;
   			return false;
   		}
   		
   		   		
   		function setMessage(productDesc){

		}		
	   
   	</script>
    </head>
    
    <body class="bg">
  
<!--HEADER STARTS HERE-->
    <div id="header">
      <jsp:include page="Logo.jsp" flush="true"/>
      <jsp:include page="AppSelector.jsp" flush="true" />
   </div>
<!--HEADER ENDS HERE-->	
	
  </body>
</html>
